#include<bits/stdc++.h>
using namespace std;
#define file(x)freopen(x  ".in","r",stdin);freopen(x  ".out","w",stdout);
char buff[1<<22],*p1=buff,*p2=buff+(1<<22)-1;
template<typename T>void qread(T&x){
    int f=0;x=0;char c=getchar();
    while(!isdigit(c)){if(c=='-')f^=1;c=getchar();}
    while(isdigit(c))x=(x<<3)+(x<<1)+(c^48),c=getchar();
    if(f)x=-x;
}//i had to not use cim
int  main(){
    file("duel");
    map<int,int>s;
    int x;cin>>x;int ans=0;
    while(x--){int y;qread(y);s[y]++;}
    for(auto[i,j]:s)ans=max(ans,j);cout<<ans;
}